#ifndef __SINGLE_JIEBA_HH__
#define __SINGLE_JIEBA_HH__
#include "simhash/cppjieba/Jieba.hpp"
#include "Configuration.hh"

using namespace cppjieba;

class SingleJieba
{
public:
    static SingleJieba* createJieba();
    static void destroyJieba();
    Jieba* getJieba();
private:
    SingleJieba();
    ~SingleJieba();

private:
    Jieba* _jiebaptr = nullptr;
    static SingleJieba* _instance;
};




#endif